package com.qj.yantaishan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qj.yantaishan.common.annotation.Excel;
import com.qj.yantaishan.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 shanglala_comment_tag
 * 
 * @author qihe
 * @date 2022-07-22
 */
public class CommentTag
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 评论表ID */
    @Excel(name = "评论表ID")
    private Long cid;

    /** 系统标签表ID */
    @Excel(name = "系统标签表ID")
    private Long tagId;

    /** 关联评论ID，例：产品ID，店铺ID等 */
    @Excel(name = "关联评论ID，例：产品ID，店铺ID等")
    private Long relationId;

    /** 评论的类型，PRODUCT:对产品评论，STORE:对店铺评论 */
    @Excel(name = "评论的类型，PRODUCT:对产品评论，STORE:对店铺评论")
    private String type;

    /** 状态，主要用于审核评论，1：通过审核，0：未通过审核 */
    @Excel(name = "状态，主要用于审核评论，1：通过审核，0：未通过审核")
    private Integer status;

    /** 删除标记，1：删除，0：未删除 */
    @Excel(name = "删除标记，1：删除，0：未删除")
    private Integer deleteFlg;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCid(Long cid) 
    {
        this.cid = cid;
    }

    public Long getCid() 
    {
        return cid;
    }
    public void setTagId(Long tagId) 
    {
        this.tagId = tagId;
    }

    public Long getTagId() 
    {
        return tagId;
    }
    public void setRelationId(Long relationId) 
    {
        this.relationId = relationId;
    }

    public Long getRelationId() 
    {
        return relationId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setDeleteFlg(Integer deleteFlg) 
    {
        this.deleteFlg = deleteFlg;
    }

    public Integer getDeleteFlg() 
    {
        return deleteFlg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cid", getCid())
            .append("tagId", getTagId())
            .append("relationId", getRelationId())
            .append("type", getType())
            .append("status", getStatus())
            .append("deleteFlg", getDeleteFlg())
            .toString();
    }
}
